package com.songlin.houxin.admin.api.converter;


import com.songlin.houxin.admin.api.entity.ChannelStatistic;
import com.songlin.houxin.admin.api.vo.ChannelStatisticVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author jinYuLinLang
 * @version 1.0.0
 * @ClassName ChannelStatisticConverter.java
 * @Description <p></p>
 * @createTime 2022-03-12 18:26:00
 */
@Mapper
public interface ChannelStatisticConverter {
    ChannelStatisticConverter INSTANCE = Mappers.getMapper(ChannelStatisticConverter.class);

    ChannelStatisticVO toChannelStatisticVO(ChannelStatistic channelStatistic);

    List<ChannelStatisticVO> toChannelStatisticVOList(List<ChannelStatistic> channelStatistics);
}
